import http from "@/api/index";

export function getCameraVideoUrl(data:Object): Promise<any> {
  return http.request({
    url: `/front/data/getCameraVideoUrl`,
    method: "POST",
    data:data
  });
}
export function getCameraList_(data:Object): Promise<any> {
  return http.request({
    url: `/front/data/cameraList`,
    method: "POST",
    data:data
  });
}
export function getAllCameraList_(data:Object): Promise<any> {
  return http.request({
    url: `/front/data/getAllCameraList`,
    method: "POST",
    data:data
  });
}
export function getFullDeptTree_(data:Object): Promise<any> {
  return http.request({
    url: `/front/data/getFullDeptTree`,
    method: "POST",
    data:data
  });
}
export function getUserVideoUrl(data:Object): Promise<any> {
  return http.request({
    url: `/front/data/getUserVideoUrl`,
    method: "POST",
    data:data
  });
}

